Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLT-2782 | Janus0.6 #3852

Merged
merged 20 commits into from
Dec 10, 2024
Merged

PLT-2782 | Janus0.6 #3852

merged 20 commits into from
Dec 10, 2024

Conversation

aarshi0301
Copy link

@aarshi0301 aarshi0301 commented Dec 9, 2024

Change description

Description here

  • optimise cassandra calls
  • prefetch all the properties of vertex
  • prefetch all the properties of relation

Atlan PR : https://github.com/atlanhq/atlan/pull/6024/files

stats : https://docs.google.com/spreadsheets/d/1uRahRlM32EKlqOR5c_a4ZB72z9_deXN_CqBS1fbkL2Y/edit?gid=0#gid=0

Testing Notes

  1. Validated contracts
Screenshot 2024-12-09 at 6 27 54 PM
  1. Validated McMonitor
Screenshot 2024-12-09 at 5 34 21 PM
  1. Validated Business Attributes
Screenshot 2024-12-09 at 5 36 13 PM
  1. Validated Columns
Screenshot 2024-12-09 at 5 41 24 PM
  1. Local

Table

"entities": [
        {
            "typeName": "Table",
            "attributes": {
                "lastSyncRunAt": 0,
                "connectionQualifiedName": "default/snowflake/1",
                "__modifiedBy": "admin",
                "columns": [
                    {
                        "guid": "3209048c-bfaf-4304-b6fe-05ec47801f0c",
                        "typeName": "Column",
                        "attributes": {
                            "popularityScore": 1.17549435E-38,
                            "connectorName": "snowflake"
                        },
                        "uniqueAttributes": {
                            "qualifiedName": "table304"
                        }
                    }
                ],
                "__hasLineage": false,
                "adminUsers": [
                    "aarshi",
                    "suman"
                ],
                "queryPreviewConfig": {
                    "env": "[test1, test2]"
                },
                "ownerGroups": [],
                "sourceUpdatedAt": 0,
                "BNEa1vMTtmgZqkTh2icsJB.B8vVPtZI9lbGokUtFjcft4": [
                    "cql",
                    "sql",
                    "test1",
                    "tset2"
                ],
                "announcementUpdatedAt": 0,
                "__timestamp": 1733825739630,
                "sourceCreatedAt": 0,
                "adminRoles": [],
                "adminGroups": [],
                "qualifiedName": "table304",
                "__state": "ACTIVE",
                "sourceReadRecentUserRecordList": [
                    {
                        "typeName": "PopularityInsights",
                        "attributes": {
                            "recordTotalUserCount": 0,
                            "recordUser": "ATLANADMIN",
                            "recordQueryCount": 0,
                            "recordWarehouse": null,
                            "recordComputeCost": 0.0,
                            "recordLastTimestamp": 1693979477505,
                            "recordQuery": null,
                            "recordQueryDuration": 0,
                            "recordMaxComputeCost": 0.0,
                            "recordComputeCostUnit": null
                        }
                    }
                ],
                "dataContractLatest": {
                    "guid": "cd896762-eb74-4742-9825-7c855811506f",
                    "typeName": "DataContract",
                    "attributes": {
                        "popularityScore": 1.17549435E-38
                    },
                    "uniqueAttributes": {
                        "qualifiedName": "table304/Table/contract/V1"
                    }
                },
                "meanings": [],
                "__guid": "ec97889d-f07d-4ec7-98c6-a8badbb79b0d",
                "__createdBy": "admin",
                "__modificationTimestamp": 1733825834082,
                "name": "table304",
                "certificateUpdatedAt": 0
            },
            "guid": "ec97889d-f07d-4ec7-98c6-a8badbb79b0d",
            "status": "ACTIVE",
            "displayText": "table304",
            "classificationNames": [],
            "classifications": [],
            "meaningNames": [],
            "meanings": [],
            "isIncomplete": false,
            "labels": [],
            "createdBy": "admin",
            "updatedBy": "admin",
            "createTime": 1733825739630,
            "updateTime": 1733825834082
        }
    ],

MCMonitor

"entities": [
        {
            "typeName": "MCMonitor",
            "attributes": {
                "sourceCreatedAt": 0,
                "lastSyncRunAt": 0,
                "adminRoles": [],
                "__modifiedBy": "admin",
                "adminGroups": [],
                "qualifiedName": "monitor1",
                "__state": "ACTIVE",
                "__hasLineage": false,
                "sourceReadRecentUserRecordList": [],
                "meanings": [],
                "__guid": "01b22fa6-0fb3-490f-a6aa-b51d14906297",
                "adminUsers": [],
                "mcMonitorRuleScheduleConfig": {
                    "typeName": "MCRuleSchedule",
                    "attributes": {
                        "mcRuleScheduleType": null,
                        "mcRuleScheduleStartTime": 0,
                        "mcRuleScheduleCrontab": null,
                        "mcRuleScheduleIntervalInMinutes": 0
                    }
                },
                "ownerGroups": [],
                "sourceUpdatedAt": 0,
                "BNEa1vMTtmgZqkTh2icsJB.B8vVPtZI9lbGokUtFjcft4": [],
                "__createdBy": "admin",
                "announcementUpdatedAt": 0,
                "__modificationTimestamp": 1733739725460,
                "name": "monitor1",
                "certificateUpdatedAt": 0,
                "__timestamp": 1733739725460
            },
            "guid": "01b22fa6-0fb3-490f-a6aa-b51d14906297",
            "status": "ACTIVE",
            "displayText": "monitor1",
            "classificationNames": [],
            "classifications": [],
            "meaningNames": [],
            "meanings": [],
            "isIncomplete": false,
            "labels": [],
            "createdBy": "admin",
            "updatedBy": "admin",
            "createTime": 1733739725460,
            "updateTime": 1733739725460
        }
    ]

Type of change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
  • "Ready for review" label attached and reviewers assigned
  • Changes have been reviewed by at least one other contributor
  • Pull request linked to task tracker where applicable

@aarshi0301 aarshi0301 self-assigned this Dec 9, 2024
@aarshi0301 aarshi0301 marked this pull request as draft December 9, 2024 09:10
@aarshi0301 aarshi0301 marked this pull request as ready for review December 9, 2024 12:00
@aarshi0301 aarshi0301 changed the title Janus0.6 PLT-2782| Janus0.6 Dec 10, 2024
@aarshi0301 aarshi0301 changed the title PLT-2782| Janus0.6 PLT-2782 | Janus0.6 Dec 10, 2024
mehtaanshul
mehtaanshul previously approved these changes Dec 10, 2024
sriram-atlan
sriram-atlan previously approved these changes Dec 10, 2024
@sriram-atlan sriram-atlan merged commit 6e1f8e9 into master Dec 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants